package mn.idax.exchange.otc.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Auther: dison
 * @Date: 2018/8/3 11:48
 * @Description:
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class OrderExcelDTO implements Serializable {
    private static final long serialVersionUID = 2811022677378443064L;

    @Excel(name = "订单号")
    private String number;

    @Excel(name = "广告主",orderNum = "1")
    private String adOwner;

    @Excel(name = "广告类型",replace = {"在线出售_1", "在线购买_2"},orderNum = "2")
    private Integer adType;

    @Excel(name = "下单人",orderNum = "3")
    private String orderPlacer;

    @Excel(name = "付款方",orderNum = "4")
    private String payer;



    @Excel(name = "收款方",orderNum = "5")
    private String beneficiary;

    @Excel(name = "交易金额",orderNum = "6")
    private String transactionAmount;

    @Excel(name = "数字货币类型",orderNum = "7")
    private String coinName;

    @Excel(name = "交易数量",orderNum = "8")
    private BigDecimal transactionQty;

    @Excel(name = "法币类型",orderNum = "9")
    private String legalCurrency;

    @Excel(name = "手续费",orderNum = "10")
    private BigDecimal serviceCharge;

    @Excel(name = "交易单价",orderNum = "11")
    private BigDecimal transactionUnitPrice;

    @Excel(name = "创建时间", exportFormat = "yyyy-MM-dd",orderNum = "12")
    private Date createTime;

    @Excel(name = "状态",replace = {"待支付_1", "已支付_2", "已放行_3", "已完成_4","已取消_5","过期未支付_6"},orderNum = "13")
    private String orderStatusName;


}
